<include file="Public:header" />
<include file="Public:channel" />
<include file="Guild:g_menu" />
<br /><br />
<include file="Bulletin:b_menu" />

<script src="__ROOT__/Public/js/kindeditor/kindeditor.js"></script>

<script type="text/javascript">
//调用文本编辑器插件：	
	KE.show({
		id : 'content',
		filterMode : true,
		items : [
        'source', 'fontname', 'fontsize', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
        'removeformat', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
        'insertunorderedlist', 'emoticons', 'image', 'link']
});

$(document).ready(function(){
	
	tvalue = $("#top").val();
	$("input[name='seq']").each(function(){
		if(this.value == tvalue){
			this.checked = true;
		}
		
		
		
	});
	
});




</script>


<body>	
<br /><br /><br />
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1" onsubmit="return newsCHK()">
  <table  border="1">
    <tr>
      <td width="90"  height="41"><div align="right">公告标题：</div></td>
      <td width="645"><label>
        <input type="text" name="title" id="title" value="{$bull.title}"/>
      </label></td>
    </tr>
    <tr>
      <td height="99"><div align="right">公告内容：</div></td>
      <td>
        <textarea name="content" id="content" style="width:600px; height:400px">
        	{$bull.content}
        </textarea>
      </td>
    </tr>
    <tr>
      <td><div align="right">置顶：</div><input type="hidden" id="top" value="{$bull.seq}"></td>
      <td>
        <input type="radio" name="seq" value="0">非置顶
        <input type="radio" name="seq" value="1">置顶I
        <input type="radio" name="seq" value="2">置顶II
        <input type="radio" name="seq" value="3">置顶III
      </td>
    </tr>
    <tr>
      <td height="28" colspan="2"><label>
        <input type="submit" name="bulletin_bt" value="提交" />
        
      </label></td>
    </tr>
  </table>
</form>
<a href="__APP__/bulletin/bull_admin">返回</a>
<include file="Public:footer" />
